package com.lovo.dimao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单表;
 * </p>
 *
 * @author MaoYue
 * @since 2022年11月15日
 */
@Getter
@Setter
@TableName("ssc_order")
@ApiModel(value = "SscOrder对象", description = "订单表")
public class SscOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单号")
    @TableId(value = "pk_order_id", type = IdType.ASSIGN_ID)
    private Long orderId;

    @ApiModelProperty("下单时间")
    @TableField("order_time")
    private LocalDateTime orderTime;

    @ApiModelProperty("总金额")
    @TableField("order_total")
    private Integer orderTotal;

    @ApiModelProperty("状态")
    @TableField("order_status")
    private String orderStatus;

    @ApiModelProperty("用户id")
    @TableField("fk_user_id")
    private Long userId;

    @ApiModelProperty("收货地址")
    @TableField("full_address")
    private String fullAddress;

    @ApiModelProperty("支付方式")
    @TableField("order_payment")
    private String orderPayment;


}
